Comments (9)
I never tried it in a brand new project. I will take a look.
from configurationsectiondesigner.
from configurationsectiondesigner.
@gakus
I created a new WebForms project in latest Visual Studio 2019 and could not reproduce this problem. Some more info would be helpful.
- What type of project (ClassLibrary, AspNetCore, etc)?
- .NET framework version.
- Visual Studio version.
-Thanks
@Garwin4j
Thanks for sharing. I actually use the new config model for a few of my new projects as well.
The primary purpose of this tool was to be able to visualize the configuration hierarchy and have a nice UI to help with managing types. I think that this could also apply to the new AspNetCore config style.
We just need to add this support to ConfigurationSectionDesigner. This is likely not a simple task, so I am hoping that other developers might assist. My time is limited at the moment.
from configurationsectiondesigner.
It doesn't matter whitch version of VS and type of project. By default VS generates old format for all framework version. Only for .net standard and core it generates new version.
Generate new ClassLibrary and replace csproj content with this:
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net472</TargetFramework> </PropertyGroup> </Project>
from configurationsectiondesigner.
@hybridview did you had a time to look at this? This is keeping me in work from migrating whole test framework to new project.
from configurationsectiondesigner.
My apologies. It's been a hectic summer and I somehow missed these requests.
I'll take another look.
from configurationsectiondesigner.
from configurationsectiondesigner.
I did as gakus suggested. Created new ClassLibrary (For netstandard to ensure new project format). I did this in the latest build of Visual Studio 2019. I then replaced project content with net472 as indicated. Next, I added a new CSD file and created a simple Configuration section. I added a single property. The CSD files generate with no issue for me. I wonder if it has something to do with other projects in your solution. If you have time, could you please try to reproduce the issue with a new empty solution, zip it, and share so I can reproduce on my machine? Many thanks.
from configurationsectiondesigner.
Here is my solution folder that worked successfully for me. If it fails on your machine, then that really helps narrow the problem down for me.
CSDNewProjFormatTest_vs2019.zip
from configurationsectiondesigner.
Related Issues (13)
- Does not load with VS 2017 HOT 8
- Text Template Directives cause empty lines in xml files and break the notation HOT 5
- Bug in RegexValidator HOT 1
- Adding external enum locks source dll
- Using CSD to write the configuration file programmatically HOT 2
- Error when tryin Run Custom Tool on VS 2017 prof HOT 4
- Generation errors in Visual Studio 2017 (15.2) HOT 3
- VS2015: Compiling transformation error HOT 8
- wiki HOT 1
- Rename xxx.csd crashes Visual Studio 2017 HOT 1
- VS2017 can't select Custom Value Convertor HOT 1
- Adding New: SectionGroup and ElementCollection are switched HOT 3
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 configurationsectiondesigner.