Skip to content
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

nuget pack fails on missing xmlns #44

Open
lemmywrap opened this issue Dec 4, 2019 · 1 comment
Open

nuget pack fails on missing xmlns #44

lemmywrap opened this issue Dec 4, 2019 · 1 comment

Comments

@lemmywrap
Copy link

lemmywrap commented Dec 4, 2019

When running nuget pack on my prooject which uses StrongNamer, it fails with the following error:

The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If t
he project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.  \packages\StrongNamer.0.2.5\build\StrongNamer.targets

Adding xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the Project element in StrongNamer.targets fixes the issue.

@jhyry-gcpud
Copy link

I had the same issue but simply to build my project with this added through nuget in VS 2015.
Modifying packages\StrongNamer.0.2.5\build\StrongNamer.targets in the $(SolutionDir) fixes the problem.
I'm assuming I would have had issues with nuget pack but didn't get that far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants