diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..d00a16e --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,35 @@ +# PLEASE READ BEFORE POSTING AN ISSUE + +This is a place for issues for MahApps.Metro.SimpleChildWindow itself. Questions are better asked at [discussions](https://github.com/punker76/MahApps.Metro.SimpleChildWindow/discussions). + +### Seriously consider creating and linking to a test repo which takes absolutely minimal setup to illustrate how reproduce the problem. + +My time is limited and .Zip files, code snippets and partial examples are often a time sink. GitHub also provides great communication and code review tools which can be utilised. + +## HOW TO POST A GOOD SAMPLE. + +Follow these guidelines and I will most likely look at the issue sooner: + +* Post a full GitHub repository. Not a zip file, half baked snippet etc. If GitHub is new to you consider it a great learning opportunity and chance to get involved. +* The repository should have just ONE step max for me to get running, and that is "Restore NuGet Packages". If there are any other missing dependencies, or uncompiling features I will most likely move on to another issue. +* I'm not trying to be awkward. I'm just busy and I'm helping a lot of people, not just you, so help me out and I will help you out. + +## What steps will reproduce this issue? + +_Write problem description here_ + +### Expected outcome + +_Write expected outcome here_ + +### Repo + +_Link to the Repo_ + +### Environment + +- MahApps.Metro.SimpleChildWindow __v?.?.?__ +- MahApps.Metro __v?.?.?__ +- Windows OS __??__ +- Visual Studio __20xx__ +- .NET Framework __?.?__ diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..fa750c1 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,5 @@ +## What changed? + +_Describe the changes you have made to improve this project._ + +_Closed issues._ diff --git a/src/Directory.build.props b/src/Directory.build.props index 61271c3..3d17da5 100644 --- a/src/Directory.build.props +++ b/src/Directory.build.props @@ -1,29 +1,37 @@ - + + + true + false + true + + net462;net47;net48;net5.0-windows;net6.0-windows true false - true - 9 - true - full + true + latestmajor $(NoWarn);CS1591 $(NoError);CS1591 true + + + + + + + + - - + + - - - all - runtime; build; native; contentfiles; analyzers - + \ No newline at end of file diff --git a/src/Directory.build.targets b/src/Directory.build.targets index 2f6c705..245b8ff 100644 --- a/src/Directory.build.targets +++ b/src/Directory.build.targets @@ -1,15 +1,4 @@ - - - - - - - - - - - - + @@ -29,4 +18,8 @@ + + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + \ No newline at end of file diff --git a/src/Directory.packages.props b/src/Directory.packages.props new file mode 100644 index 0000000..8544f84 --- /dev/null +++ b/src/Directory.packages.props @@ -0,0 +1,15 @@ + + + true + true + + + + + + + + + + + \ No newline at end of file diff --git a/src/MahApps.Metro.SimpleChildWindow.Demo/FodyWeavers.xsd b/src/MahApps.Metro.SimpleChildWindow.Demo/FodyWeavers.xsd index 44a5374..05e92c1 100644 --- a/src/MahApps.Metro.SimpleChildWindow.Demo/FodyWeavers.xsd +++ b/src/MahApps.Metro.SimpleChildWindow.Demo/FodyWeavers.xsd @@ -17,6 +17,16 @@ A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. + + + A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks + + + + + A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. + + A list of unmanaged 32 bit assembly names to include, delimited with line breaks. @@ -43,6 +53,16 @@ Controls if .pdbs for reference assemblies are also embedded. + + + Controls if runtime assemblies are also embedded. + + + + + Controls whether the runtime assemblies are embedded with their full path or only with their assembly name. + + Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option. @@ -73,6 +93,16 @@ A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |. + + + A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with | + + + + + A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with |. + + A list of unmanaged 32 bit assembly names to include, delimited with |. diff --git a/src/MahApps.Metro.SimpleChildWindow.Demo/MahApps.Metro.SimpleChildWindow.Demo.csproj b/src/MahApps.Metro.SimpleChildWindow.Demo/MahApps.Metro.SimpleChildWindow.Demo.csproj index 44f2c5a..5bbb57d 100644 --- a/src/MahApps.Metro.SimpleChildWindow.Demo/MahApps.Metro.SimpleChildWindow.Demo.csproj +++ b/src/MahApps.Metro.SimpleChildWindow.Demo/MahApps.Metro.SimpleChildWindow.Demo.csproj @@ -8,24 +8,24 @@ false false - - WinExe - SA1652 + SA1652;WPF0041 app.manifest - + - + - + + + + all - runtime; build; native; contentfiles; analyzers; buildtransitive + compile; runtime; build; native; contentfiles; analyzers - diff --git a/src/MahApps.Metro.SimpleChildWindow/Directory.Build.Props b/src/MahApps.Metro.SimpleChildWindow/Directory.Build.Props index 6241b7d..5bdcca6 100644 --- a/src/MahApps.Metro.SimpleChildWindow/Directory.Build.Props +++ b/src/MahApps.Metro.SimpleChildWindow/Directory.Build.Props @@ -1,21 +1,24 @@ - + - true - true - - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + - + true + + + + + true + Embedded - + - + \ No newline at end of file diff --git a/src/MahApps.Metro.SimpleChildWindow/Directory.build.targets b/src/MahApps.Metro.SimpleChildWindow/Directory.build.targets index bed3136..b10f4bb 100644 --- a/src/MahApps.Metro.SimpleChildWindow/Directory.build.targets +++ b/src/MahApps.Metro.SimpleChildWindow/Directory.build.targets @@ -1,10 +1,10 @@ - - True - - + + True + + @@ -24,7 +24,7 @@ $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) - + @@ -35,5 +35,5 @@ true - + \ No newline at end of file diff --git a/src/MahApps.Metro.SimpleChildWindow/MahApps.Metro.SimpleChildWindow.csproj b/src/MahApps.Metro.SimpleChildWindow/MahApps.Metro.SimpleChildWindow.csproj index 32871ae..feb2d66 100644 --- a/src/MahApps.Metro.SimpleChildWindow/MahApps.Metro.SimpleChildWindow.csproj +++ b/src/MahApps.Metro.SimpleChildWindow/MahApps.Metro.SimpleChildWindow.csproj @@ -1,5 +1,4 @@  - @@ -7,18 +6,11 @@ MahApps.Metro.SimpleChildWindow MahApps.Metro.SimpleChildWindow true + Library - - - all - runtime; build; native; contentfiles; analyzers - + - - - - \ No newline at end of file diff --git a/src/global.json b/src/global.json index d6c2c37..28288bd 100644 --- a/src/global.json +++ b/src/global.json @@ -1,6 +1,7 @@ { "sdk": { - "version": "6.0.100", - "rollForward": "latestFeature" + "version": "6.0.400", + "rollForward": "latestFeature", + "allowPrerelease": false } } \ No newline at end of file