-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
How to exclude projects to publish when publishing from a solution file? #13365
Comments
Hi! Thanks for the question. Doing a few searches web I came up with the following options:
I'm going to close this issue. Let me know if you have more questions. You may have better luck asking on StackOverflow to broaden who looks at your question. Then if you have feedback on how to improve the documentation, you can submit a PR or file a new issue with the recommendation. |
Any docs for configuring solution file within Visual Studio IDE? |
That question is best researched and asked on the Visual Studio documentation. Cheers! |
After a lot of searching in the The The |
@Thraka Please link the above comment, to those who are facing the same issues. I'll put a PR on the relevant pages with the properties I mentioned above and similar others when I need them enough to find them. 😁 |
Good hunting! I didn't find much on it. So did setting |
Tried the
|
@ggirard07 You may have better luck asking on StackOverflow or the Visual Studio Community or an ASP.NET Core forum of some kind or even the .NET Core CLI github repo. We're not really a support team and it's hard for us to find time to help out with problem questions. Your issue sounds like it can't find a web.config file it expects to find. Unrelated to your comment @ggirard07 , I'm closing this PR as @Nirmal4G has not responded about opening a PR with some information. |
|
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<IsPublishable>false</IsPublishable>
</PropertyGroup>
...
</Project> |
I have so many projects in the solution but when using publish, all the projects are published, I want to exclude the tests and other projects that don't need to publish or build.
Is there a way to do within a solution file by configuring it within Visual Studio IDE?
Is there a way to do it from MSBuild cmd options or
dotnet publish
cmd options.Note: All projects are .NET Core and SDK-style projects. I'm using VS 16.1
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: