-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Documentation / Build Task - Access to \Documents\WindowsPowerShell\Modules\CodeGenerationModules denied #5293
Comments
Thank you for opening this issue! We are routing it to the appropriate team for follow up. CC: @shahabhijeet |
@sujayvsarma can you tell me more about what you were trying to build? |
@kurtzeborn @weshaggard with a clean repo, running
Can one of you take a look? |
@AlexGhiondea I think that is because we need to do a restore first. If you are working on the build.proj itself we likely need to run "dotnet build build.proj" which will do a restore first. @chidozieononiwu could you add some information in the docs about this please. |
I have added the changes to an existing PR #7098 |
Somehow, I missed the git-notification about this bug! @AlexGhiondea - I was trying to build the repo as per the instructions in the BUILD doc. @weshaggard - That doesn't work. I started with a clean folder, cloned this repo and followed the BUILD doc to a T. @chidozieononiwu - I am sorry, but your PR contains confusing instructions. |
@sujayvsarma can you please list out the exact commands you have run and the output you are receiving? |
@weshaggard I have already provided the complete list of steps in my original bug report at the top of this thread. What more are you looking for? |
@sujayvsarma The contributing guide has been updated. The steps requiring sn.exe are no longer included. |
@sujayvsarma the steps you outlined in your original post are not the steps in the documentation. Have you tried running |
Okay. Then go ahead and consider this closed. |
Following the steps described under "To build" here (https://github.com/Azure/azure-sdk-for-net/blob/master/README.md), I ran into issues while executing "msbuild build.proj".
Setup delta:
Visual Studio 2019 Professional
#1 SN.exe is not available from 2019's Developer Command Prompt. One needs to specifically invoke it from "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools" (for some reason the DCP does not add this path to ENV while starting up?
#2 The steps ask us to exclude "tools\SdkBuildTools\tasks\net46\Microsoft.Azure.Sdk.Build.Tasks.dll". There is no such path(!). Instead, the current code base has a project that probably builds this DLL into the system.
#3 Ignoring #2, I went ahead and ran msbuild build.proj. The build itself ran fine, but suddenly threw up this error: \azure-sdk-for-net\tools\bootstrapTools\bootstrap.targets(5,4): error : Access to the path 'C:\Users\Sujay%20Sarma\Documents\WindowsPowerShell\Modules\CodeGenerationModules' is denied.
I hand-created that path and tried again. It failed again with the same error.
The text was updated successfully, but these errors were encountered: