iamdmitrij / Tethos

Library which allows to seamlessly mock dependencies for unit tests 🔬
MIT License
4 stars 2 forks source link

Replace Fakes project with dynamic projects #153

Open iamdmitrij opened 2 years ago

iamdmitrij commented 2 years ago

Reduce boilerplate code and replaces Fake projects with dynamically generated projects.

iamdmitrij commented 2 years ago

https://github.com/daveaglick/Buildalyzer

iamdmitrij commented 2 years ago

https://stackoverflow.com/questions/24557807/programmatically-create-a-csproj-on-the-fly-without-visual-studio-installed

iamdmitrij commented 2 years ago

Need to research is there a NuGet which can generate assemblies on a fly.

iamdmitrij commented 2 years ago

This lib could help or use CSharpCodeProvider.

iamdmitrij commented 2 years ago

Use AssemblyBuilder.

https://docs.microsoft.com/en-us/dotnet/api/system.reflection.emit.assemblybuilder?redirectedfrom=MSDN&view=net-6.0