mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
548 B
21 lines
548 B
using System;
|
|
|
|
namespace TestApp
|
|
{
|
|
internal static class Program
|
|
{
|
|
private static void Main(string[] args)
|
|
{
|
|
AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
|
|
}
|
|
|
|
private static System.Reflection.Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs e)
|
|
{
|
|
if (e.Name.StartsWith("Microsoft.Build."))
|
|
{
|
|
// искать в локальной папке
|
|
}
|
|
return null;
|
|
}
|
|
}
|
|
} |