3F / MvsSln

🧩 Customizable VisualStudio .sln parser with project support (.vcxproj, .csproj., …). Pluggable lightweight r/w handlers at runtime, and more …
MIT License
135 stars 27 forks source link

Loading .vxproj from sln.... #53

Open davidcorbin-atmosera opened 2 years ago

davidcorbin-atmosera commented 2 years ago

Do not see a way to get the "tools version passes... In xProjectEnv.cs it appears to be a hard coded null....

protected virtual Project Load(RawText raw, IDictionary<string, string> properties) { using(var reader = XmlReader.Create(new StreamReader(raw.data.GetStream(raw.encoding), raw.encoding))) { return new Project(reader, properties, **null**, PrjCollection); } }

3F commented 2 years ago

Hello,

Do not see a way to get the "tools version passes... In xProjectEnv.cs it appears to be a hard coded null....

null was used initially to reach the only latest available toolset. This is not designed to be configurable. But this is virtual so can override it for any related purposes like here https://github.com/3F/DllExport/blob/c1cc52fa13f563f97a2b4fe08bfb541c69195866/Wizard/DxpIsolatedEnv.cs#L41

In case of the modern toolsets (15+) please note the following https://github.com/3F/MvsSln/wiki/Advanced-Features

Also note,

IeXod has been planned as the new engine, but today I'm not really sure about anything at all. Really. I don't know ...

I'll try to publish new stable release with fixes later, if and only if, GitHub will not be completely blocked soon. Whenever I want to do something in my open projects ... always, something is always happening to destroy me and everything around me. What the ...

You can follow the news here or twitter or improve it somehow yourself. Let me know about problems or questions while I'm here.

3F commented 2 years ago

IeXod has been planned as the new engine

Regarding to IeXod, by the way,

Actually I remember PR WIP. Review of the first beta features is almost ready, or maybe even already ready but not yet reviewed. Not sure but there are something is almost done as far as I remember it.