You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A NuGet package that detects when assemblies compiled without the `-optimized` flag are added to a project and warns you about it.
7
+
NuGet package that detects when assemblies compiled without the `-optimized` flag are added to a project and warns you about it.
6
8
7
9
## How does it work?
8
10
9
11
This project hooks into the build process and detects if any referenced assembly was [compiled in _Debug_ mode](https://github.com/dotnet/runtime/blob/b9b876ab510e98ac741f1c82f1cb4fb1cb21e3ef/src/libraries/System.Private.CoreLib/src/System/Diagnostics/DebuggableAttribute.cs#L22).
10
12
13
+

14
+
11
15
### Add to your project:
12
16
13
17
```xml
@@ -35,4 +39,4 @@ roll back to an older version or chose another dependency.
35
39
* Some of the blog posts that helped:
36
40
*[Implementing and Debugging Custom MSBuild Tasks](https://ithrowexceptions.com/2020/08/04/implementing-and-debugging-custom-msbuild-tasks.html) by Matthias Koch.
37
41
*[Shipping a cross-platform MSBuild task in a NuGet package](https://natemcmaster.com/blog/2017/07/05/msbuild-task-in-nuget/) by Nate MacMaster.
38
-
*[Tyrrz](https://github.com/Tyrrrz) for the links and rants.
42
+
*[Alexey Golub](https://github.com/Tyrrrz) for the links and rants.
0 commit comments