tag:help.appveyor.com,2012-11-13:/discussions/problems/25740-no-net-core-csproj-files-foundAppVeyor: Discussion 2020-04-03T18:47:29Ztag:help.appveyor.com,2012-11-13:Comment/479416462019-12-23T22:58:41Z2019-12-24T09:30:49Z .NET Core csproj issues<div><p>workaround for 1ab) found: rewrite csproj<br>
attached the core csproj which was not recognized<br>
new 1c) same as 2) "Any CPU" folder expected</p>
<p>more precise for 1a)<br>
if the xmlns exists in the file the project is not recognized.<br>
xmlns="<a href="http://schemas.microsoft.com/developer/msbuild/2003">http://schemas.microsoft.com/developer/msbuild/2003</a>"<br>
but your parser should look for existence of sdk attribute:<br>
e.g. Sdk="Microsoft.NET.Sdk.WindowsDesktop"</p></div>Kaytag:help.appveyor.com,2012-11-13:Comment/479416462019-12-24T09:56:35Z2019-12-24T09:56:39Z .NET Core csproj issues<div><p>3) yet another issue with test projects<br>
dotnet pack "C:\projects\ksware-presentation-converters\src\KsWare.Presentation.Converters.Tests\KsWare.Presentation.Converters.Tests.csproj" --configuration Release --include-symbols --output "C:\Users\appveyor\AppData\Local\Temp\1\o1n8u48prn" --no-build<br>
failed. ok. but why pack a test project?<br>
how to configure which project should be packed and which not?</p></div>Kaytag:help.appveyor.com,2012-11-13:Comment/479416462020-01-26T08:39:15Z2020-01-26T08:39:18Z .NET Core csproj issues<div><p>one month and no answer :-(</p></div>Kaytag:help.appveyor.com,2012-11-13:Comment/479416462020-01-26T22:22:56Z2020-01-26T22:22:56Z .NET Core csproj issues<div><p>Hi Kay,</p>
<p>Sorry for the delay with reply!</p>
<p>There is no way to configure which projects should be packaged and which not if automatic packaging is used. However, you can just provide your own command to pack NuGet package and push it to artifacts.</p></div>Feodor Fitsner