Code Monkey home page Code Monkey logo

Comments (9)

hybridview avatar hybridview commented on July 17, 2024

I never tried it in a brand new project. I will take a look.

from configurationsectiondesigner.

Garwin4j avatar Garwin4j commented on July 17, 2024

from configurationsectiondesigner.

hybridview avatar hybridview commented on July 17, 2024

@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.

gakus avatar gakus commented on July 17, 2024

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.

gakus avatar gakus commented on July 17, 2024

@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.

hybridview avatar hybridview commented on July 17, 2024

My apologies. It's been a hectic summer and I somehow missed these requests.
I'll take another look.

from configurationsectiondesigner.

Garwin4j avatar Garwin4j commented on July 17, 2024

from configurationsectiondesigner.

hybridview avatar hybridview commented on July 17, 2024

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.

hybridview avatar hybridview commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.