-
Notifications
You must be signed in to change notification settings - Fork 374
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
The SDK 'Microsoft.DotNet.Arcade.Sdk' specified could not be found. #2429
Comments
Hi,
Please add additional nuget package sources in Nuget Package Manager.
|
No, this does not matter. What matters on my dev machine is when i start Visual Studio with an admin account. Then it suddenly can open those projects and does not show this error. I am still clueless what is causing this problem. |
I always use local admin permission for development environment. Microsoft arcade tooling will install missing SDK.
Admin privileges are required for some dotnet commands. |
I am using the official contribution documentation, there is no such info to run Visual Studio as administrator. And btw you are mixing running command line commands with Visual Studio. The original issue is that the projects on my machine do not load because of the error outlined in the op. |
I believe there's a package missing from the preview feed. You can potentially bypass this by using a release version of the SDK, by setting an environment variable |
Two things need to be done in order to successfully load and build the projects:
|
The VS behavior is different from the shell scripts and the main usage for arcade is the CI based using shell scripts. The VS behavior is narrowed. |
I believe we can agree that the goal should be:
If it's not that way everyone's time trying to investigate this project is wasted with first trying to figure out how to get started... |
We are interested in finding and solving any issues in the CONTRIBUTING.md file that there are and really want to. I attempted to reproduce the issue on a fresh machine, but I was unable to do so. This may point to a machine specific issue, that we want to identify and note in the CONTRIBUTING.md file as needed, so any more information you may have would be helpful.. |
Tell me what you need to know and i will try to provide this information. The NuGet.config you provide does not play well with the NuGet-Feature "Package Source Mapping". <packageSourceMapping>
<packageSource key="dotnet-public">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet5">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet5-transport">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet-eng">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet-tools">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet-libraries">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet8">
<package pattern="*" />
</packageSource>
</packageSourceMapping> |
Are there specific prerequisites needed to get these projects to load in Visual Studio? This does not mention anything special.
error : The SDK 'Microsoft.DotNet.Arcade.Sdk' specified could not be found. C:\Work\VisualStudioGitHub\command-line-api\Directory.Build.props
There are lots of questions around the web in regard to errors with 'Microsoft.DotNet.Arcade.Sdk' but no actual solution. So what am i missing?
The text was updated successfully, but these errors were encountered: