Migration: excluded files need to be removed (#5485)
* WIP * Implement Remove attribute * Enable tests * Fix test * Try a shorter test name * Try more shortened test names * Shorten some more * Merge issues * Try shortinging names more * Fix test errors related to test asset renaming
This commit is contained in:
parent
e38bc4950c
commit
5aded80a7b
55 changed files with 394 additions and 174 deletions
|
@ -0,0 +1 @@
|
|||
This is not a resource file but is used to test resource exclusion.
|
|
@ -0,0 +1 @@
|
|||
This is not a resource file but is used to test resource exclusion.
|
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
|
||||
namespace ConsoleApplication
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
var thisAssembly = typeof(Program).GetTypeInfo().Assembly;
|
||||
var resources = from resourceName in thisAssembly.GetManifestResourceNames()
|
||||
select resourceName;
|
||||
|
||||
var resourceNames = string.Join(",", resources);
|
||||
Console.WriteLine($"{resources.Count()} Resources Found: {resourceNames}");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"exclude": "Exclude1.resx",
|
||||
"resourceExclude": [ "Exclude2.resx" ],
|
||||
"buildOptions": {
|
||||
"debugType": "portable",
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
"dependencies": {},
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"type": "platform",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
},
|
||||
"imports": "dnxcore50"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue