Comments (1)
I think the MSBuild APis don't allow that. I'm looking at the source for another matter, but the API used AddItem doesn't seem to allow selecting the ItemGroup, let alone creating an ItemGroup with conditions. But I've just started playign around with it. If you care to have a look yourself, look at SwitchProjectsToPackagesCommand
and SwitchPackagesToProjectsCommand
- the code is reasonably easy to understand.
from dnt.
Related Issues (20)
- DNT fails with "Could not load file or assembly 'System.Runtime, Version=6.0.0.0'" HOT 9
- InvalidCastException when mixing "single project per package" and "multiple projects per package" HOT 1
- Support for <Import tag in `switch-to-projects`
- problem with special characters in solution name and/or path HOT 1
- Swtich to proj references: iInvalidProjectFileException: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found
- Switcher configuration with a combination of single project and multiple project are flattened after switch-to-projects HOT 2
- [Question] Use without `.sln` file?
- switcher - support for duplicated project names HOT 2
- .NET 7 Preview version causing DNT to fail (we had the same problem when we moved from 5->6) HOT 12
- switcher - support for GeneratePathProperty HOT 4
- debugging dnt - how to get started HOT 1
- What does "d"/"t" mean in Type for used-packages ?
- bump-versions without GeneratePackageOnBuild
- switch-to-projects with MSIX: Unable to find project information for MyNugetProject.csproj HOT 1
- switch-to-projects: Is it possible to exclude projects?
- Issues when using DNT with newest Visual Studio Build Tools 17.8.0 HOT 6
- Difficult to understand error when switcher.json file has spelling mistakes. HOT 2
- Switch-to-projects where packages have references between them HOT 1
- Error when attempting to process .vcxproj
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnt.