sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Admin ID and regular ID and cannot publish my Visual Studio, C#, SharePoint, app

Open duncanspeidel opened this issue 6 years ago • 4 comments

I have successfully built an app using MS Visual Studio 2019 that I would like to publish. In my current capacity, I have two IDs one is my standard user that I do everything with, the other is my standard user with admin access. ID 1 = StandardUser, ID 2 = StandardUserA. When I start Visual Studio, I logon as StandardUser and start VS using StandardUserA. All the project files can be found in C:\Users\StandardUserA\source\repos\TQM4\TQM4\bin\Release\app.publish\1.0.0.0. I can deploy my app to SharePoint, I can also debug it. Everything appears to be working until I attempt to publish it.

When I click "Package the add-in" it fails with "C:\Users\StandardUser\source\repos\TQM4\TQM4\bin\Release\app.publish\1.0.0.0 is unavailable. . ." It suggests making sure the device is connected. I am running visual studio as StandardUserA.

The file it is looking for is: C:\Users\StandardUserA\source\repos\TQM4\TQM4\bin\Release\app.publish\1.0.0.0. How do I tell Visual Studio to look there? DO I have to logon to windows as StandardUserA to publish?

Thank you, Duncan

duncanspeidel avatar Jan 06 '20 21:01 duncanspeidel

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Jan 06 '20 21:01 msft-github-bot

Confirmed it works when signed in as StandardUserA but that user is not one I use for day to day activities. Would like to know how to make it work with StandardUser. The project was created when logged on has StandardUser but Studio was has an administrator using StandardUserA and all the project files are in C:\Users\StandardUserA\source\repos\TQM4.

duncanspeidel avatar Jan 07 '20 15:01 duncanspeidel

This issue is being closed as part of an issue list cleanup project. Issues with no activity in the past 6 months that aren't tracked by engineering as bugs were closed as part of this inititive. If this is still an issue, please follow the steps outlined to re-open or submit a new issue.

ghost avatar Dec 29 '21 14:12 ghost

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

ghost avatar Jan 05 '22 18:01 ghost