Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,27 +49,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[0.4.7]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.4.6...v0.4.7

[0.4.6]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.4.5...v0.4.6

[0.4.5]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.4.4...v0.4.5

[0.4.4]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.4.3...v0.4.4

[0.4.3]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.4.2...v0.4.3

[0.4.2]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.4.1...v0.4.2

[0.4.1]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.4.0...v0.4.1

[0.4.0]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.3.1...v0.4.0

[0.3.1]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.3.0...v0.3.1

[0.3.0]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.2.2...v0.3.0

[0.2.2]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.2.1...v0.2.2

[0.2.1]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.2.0...v0.2.1

[0.2.0]: https://github.com/TJC-Tools/TJC.MVVM/compare/v0.1.8...v0.2.0

Expand Down
6 changes: 0 additions & 6 deletions TJC.MVVM.Tests/TJC.MVVM.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.5.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\TJC.MVVM\TJC.MVVM.csproj" />
</ItemGroup>

<ItemGroup>
<Using Include="Microsoft.VisualStudio.TestTools.UnitTesting" />
</ItemGroup>

</Project>
47 changes: 30 additions & 17 deletions TJC.MVVM/TJC.MVVM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<Description>Model-View-ViewModel</Description>
<Authors>Tyler Carrol</Authors>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/../CHANGELOG.md"))</PackageReleaseNotes>
<RepositoryUrl>https://github.com/TJC-Tools/TJC.MVVM</RepositoryUrl>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
</PropertyGroup>
<!-- INCLUDED FILES -->
<ItemGroup>
<None Remove="Nuget.config" />
Expand All @@ -31,7 +31,7 @@
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<EmbeddedResource Include="..\LICENSE" />
<EmbeddedResource Include="..\LICENSE" />
</ItemGroup>
<!-- DEPENDENCIES -->
<ItemGroup>
Expand All @@ -45,40 +45,48 @@
</AssemblyAttribute>
</ItemGroup>
<!-- TASKS -->
<UsingTask TaskName="ReadFileContent" TaskFactory="RoslynCodeTaskFactory" AssemblyName="Microsoft.Build.Tasks.Core">
<UsingTask
TaskName="ReadFileContent"
TaskFactory="RoslynCodeTaskFactory"
AssemblyName="Microsoft.Build.Tasks.Core"
>
<ParameterGroup>
<FilePath ParameterType="System.String" Required="true" />
<Content Output="true" ParameterType="System.String" />
</ParameterGroup>
<Task>
<Using Namespace="System.IO" />
<Code Type="Fragment" Language="cs">
<![CDATA[
Content = File.ReadAllText(FilePath);
<![CDATA[
Content = File.ReadAllText(FilePath);
]]>
</Code>
</Task>
</UsingTask>
<UsingTask TaskName="AppendNewLineAndFile" TaskFactory="RoslynCodeTaskFactory" AssemblyName="Microsoft.Build.Tasks.Core">
<UsingTask
TaskName="AppendNewLineAndFile"
TaskFactory="RoslynCodeTaskFactory"
AssemblyName="Microsoft.Build.Tasks.Core"
>
<ParameterGroup>
<File1 ParameterType="System.String" Required="true" />
<File2 ParameterType="System.String" Required="true" />
</ParameterGroup>
<Task>
<Using Namespace="System.IO" />
<Code Type="Fragment" Language="cs">
<![CDATA[
var text = Environment.NewLine;
text += "===========================================================";
text += Environment.NewLine;
text += Environment.NewLine;
text += File.ReadAllText(File2);
text += Environment.NewLine;
File.AppendAllText(File1, text);
<![CDATA[
var text = Environment.NewLine;
text += "===========================================================";
text += Environment.NewLine;
text += Environment.NewLine;
text += File.ReadAllText(File2);
text += Environment.NewLine;
File.AppendAllText(File1, text);
]]>
</Code>
</Task>
</UsingTask>
</UsingTask>
<!-- PRE-PACK -->
<Target Name="CustomSetup" BeforeTargets="_IntermediatePack">
<Message Text="=== CUSTOM SETUP ===" Importance="high" />
Expand All @@ -100,6 +108,11 @@
<!-- Cleanup License File -->
<Target Name="RestoreLicenseFile">
<Message Text="Restore License File Contents" Importance="high" />
<WriteLinesToFile File="..\LICENSE" Lines="$(OriginalLicenseLines)" Overwrite="true" Encoding="UTF-8" />
<WriteLinesToFile
File="..\LICENSE"
Lines="$(OriginalLicenseLines)"
Overwrite="true"
Encoding="UTF-8"
/>
</Target>
</Project>
Loading