We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Paket VS extensions creates ItemGroup with Analyzer which .NET core does NOT understand.
<ItemGroup xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Analyzer Include="..\packages\AWSSDK.DynamoDBv2\analyzers\dotnet\cs\AWSSDK.DynamoDBv2.CodeAnalysis.dll"> <Paket>True</Paket> </Analyzer> </ItemGroup>
The errors message is The attribute "xmlns" in element <ItemGroup> is unrecognized and project cannot be loaded anymore (nor built).
The attribute "xmlns" in element <ItemGroup> is unrecognized
Command line version does NOT do that.
mkdir solution && cd solution curl -L -o paket.cmd http://bit.ly/2ooaInt paket init echo framework netcoreapp11 >> paket.dependencies echo nuget AWSSDK.DynamoDBv2 >> paket.dependencies dotnet new sln mkdir project && cd project && dotnet new console echo AWSSDK.DynamoDBv2 > paket.references cd .. dotnet sln solution.sln add project\project.csproj paket install && dotnet restore && dotnet build .
So far so good. All works from command-line. Now:
solution.sln
paket.dependencies
Install
Project fails to load and no longer builds:
dotnet restore
ends with:
C:\dev\solution\project\project.csproj(7,14): error MSB4066: The attribute "xmlns" in element <ItemGroup> is unrecognized.
Should work.
It doesn't :-)
Use command-line paket only.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Paket VS extensions creates ItemGroup with Analyzer which .NET core does NOT understand.
The errors message is
The attribute "xmlns" in element <ItemGroup> is unrecognized
and project cannot be loaded anymore (nor built).Command line version does NOT do that.
Repro steps
So far so good. All works from command-line. Now:
solution.sln
in Visual Studio 2017paket.dependencies
to solutionpaket.dependencies
and selectInstall
Project fails to load and no longer builds:
ends with:
Expected behavior
Should work.
Actual behavior
It doesn't :-)
Known workarounds
Use command-line paket only.
Related information
The text was updated successfully, but these errors were encountered: