Skip to content

Commit

Permalink
Public release. MvsSln 2.5.2
Browse files Browse the repository at this point in the history
* NEW: Activating ProjectReferences for existing ProjectDependencies (shallow copy) through new flag.
       Issue #25.
        ```
        ProjectDependenciesXml = 0x0800 | ProjectDependencies | Env,
        ```
            Covers ProjectDependencies (SLN) logic using data from project files (XML).
            Helps eliminate miscellaneous units between VS and msbuild world:
            #25 (comment)
            Requires Env with loaded projects (LoadMinimalDefaultData or LoadDefaultData).

            A core feature in .NET DllExport Post-processing:
            3F/DllExport#148

* NEW: `ProjectReference` support without obsolete projectguid. Issue #26.

* NEW: IXProject methods:
       ```
       +IXProject.GetFullPath(string relative)
       ```

* FIXED: Fixed possible empty records in SlnParser.SetProjectItemsConfigs.

* FIXED: Fixed `The given key was not present...` when different case for keys in Item.Metadata.

* FIXED: Fixed protected XProject GetProjectGuid() + GetProjectName() when empty property.

* CHANGED: Compatible signature update for `ForEach<T>` extension method:
           ```
           IEnumerable<T> ForEach<T>(this IEnumerable<T> items, Action<T> act)
           ```

* CHANGED: Updated Microsoft.CSharp 4.7.0 (Only for: netstandard2.0 + netcoreapp2.1)

* CHANGED: Updated Microsoft.Build 16.5.0 (Only for: netcoreapp2.1)
  • Loading branch information
3F committed May 5, 2020
1 parent e07c580 commit cd39a8d
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .version
@@ -1 +1 @@
2.5.1
2.5.2
2 changes: 1 addition & 1 deletion MvsSln/MvsSln.csproj
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>2.5.1</Version>
<Version>2.5.2</Version>
<BuildInfoVSSBE></BuildInfoVSSBE>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion MvsSln/MvsSlnVersion.cs
Expand Up @@ -8,7 +8,7 @@ public struct MvsSlnVersion
{
public static readonly Version number = new Version(S_NUM_REV);

public const string S_NUM = "2.5.1";
public const string S_NUM = "2.5.2";
public const string S_REV = "0";

public const string S_NUM_REV = S_NUM + "." + S_REV;
Expand Down
8 changes: 6 additions & 2 deletions Readme.md
Expand Up @@ -5,7 +5,7 @@
🧩 Customizable VisualStudio .sln parser, Complex support of the projects (.vcxproj, .csproj., …), Pluginable lightweight r/w handlers at runtime, and more …

[![Build status](https://ci.appveyor.com/api/projects/status/6uunsds889rhkpo2/branch/master?svg=true)](https://ci.appveyor.com/project/3Fs/mvssln-fxjnf/branch/master)
[![release-src](https://img.shields.io/github/release/3F/MvsSln.svg)](https://github.com/3F/MvsSln/releases/latest)
[![release](https://img.shields.io/github/release/3F/MvsSln.svg)](https://github.com/3F/MvsSln/releases/latest)
[![License](https://img.shields.io/badge/License-MIT-74A5C2.svg)](https://github.com/3F/MvsSln/blob/master/License.txt)
[![NuGet package](https://img.shields.io/nuget/v/MvsSln.svg)](https://www.nuget.org/packages/MvsSln/)
[![Tests](https://img.shields.io/appveyor/tests/3Fs/mvssln-fxjnf/master.svg)](https://ci.appveyor.com/project/3Fs/mvssln-fxjnf/build/tests)
Expand Down Expand Up @@ -147,6 +147,10 @@ DllExport project finally changed distribution of the packages starting with v1.

![](https://raw.githubusercontent.com/3F/MvsSln/master/resources/MvsSln_DllExport_example.png)

MvsSln is also **a core logic** in *Post-Processing* feature [[?]](https://github.com/3F/DllExport/pull/148)

![](resources/MvsSln_and_DllExport_PostProc.png)

### vsSolutionBuildEvent

vsSolutionBuildEvent now is completely integrated with MvsSln [[?](https://github.com/3F/vsSolutionBuildEvent/pull/53)]
Expand Down Expand Up @@ -276,7 +280,7 @@ You can also specify it via `System.Reflection.Assembly` etc.

## High quality Project Icons. Visual Studio

Since Microsoft officially distributes free 5,000 high quality free icons and bitmaps from products like Visual Studio:
Since Microsoft officially distributes 5,000 high quality free icons and bitmaps from products like Visual Studio:

[https://twitter.com/GitHub3F/status/1219348325729816578](https://twitter.com/GitHub3F/status/1219348325729816578)

Expand Down
2 changes: 1 addition & 1 deletion build.bat
@@ -1,6 +1,6 @@
@echo off

set cim=packages\vsSolutionBuildEvent\cim.cmd
set cim=packages\vsSolutionBuildEvent\cim.cmd -vsw-priority Microsoft.NetCore.Component.SDK
set _gnt=tools/gnt

set reltype=%~1
Expand Down
38 changes: 38 additions & 0 deletions changelog.txt
Expand Up @@ -2,6 +2,44 @@
MvsSln - https://github.com/3F/MvsSln
- - - - - - - - - - - - - - - - - - -

[v2.5.2] 2020.05.05

* NEW: Activating ProjectReferences for existing ProjectDependencies (shallow copy) through new flag.
Issue #25.
```
ProjectDependenciesXml = 0x0800 | ProjectDependencies | Env,
```
Covers ProjectDependencies (SLN) logic using data from project files (XML).
Helps eliminate miscellaneous units between VS and msbuild world:
https://github.com/3F/MvsSln/issues/25#issuecomment-617956253
Requires Env with loaded projects (LoadMinimalDefaultData or LoadDefaultData).

A core feature in .NET DllExport Post-processing:
https://github.com/3F/DllExport/pull/148

* NEW: `ProjectReference` support without obsolete projectguid. Issue #26.

* NEW: IXProject methods:
```
+IXProject.GetFullPath(string relative)
```

* FIXED: Fixed possible empty records in SlnParser.SetProjectItemsConfigs.

* FIXED: Fixed `The given key was not present...` when different case for keys in Item.Metadata.

* FIXED: Fixed protected XProject GetProjectGuid() + GetProjectName() when empty property.

* CHANGED: Compatible signature update for `ForEach<T>` extension method:
```
IEnumerable<T> ForEach<T>(this IEnumerable<T> items, Action<T> act)
```

* CHANGED: Updated Microsoft.CSharp 4.7.0 (Only for: netstandard2.0 + netcoreapp2.1)

* CHANGED: Updated Microsoft.Build 16.5.0 (Only for: netcoreapp2.1)


[v2.5.1] 2020.01.30

* FIXED: Fixed NullReferenceException when empty xml nodes in PropertyItem through ProjectProperty.
Expand Down
Binary file added resources/MvsSln_and_DllExport_PostProc.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cd39a8d

Please sign in to comment.