Andrii Kurdiumov
a2e9a2f5d8
Allow decompile C++/CLI assemblies
...
When C++/CLI project produce assembly it generates target attribute like this
```
[assembly: TargetFramework(".NETCoreApp,Version=7.0", FrameworkDisplayName = "")]
```
when C# generates `TargetFrameworkAttribute` it produce slightly different format
```
[assembly: TargetFramework(".NETCoreApp,Version=v7.0", FrameworkDisplayName = "")]
```
4 years ago
Siegfried Pammer
2646265069
#2565 : Improve GetFileNameForResource: Assume that input is already a filename.
5 years ago
Siegfried Pammer
37456672d7
WholeProjectDecompiler: set segment length for Unix to 255.
5 years ago
Siegfried Pammer
a48f0d311c
Fix #2330 : Add conditional sub directory support
5 years ago
Siegfried Pammer
bf336d85cf
Fix second issue mentioned in #2565 : resource names such as path/to/file.ext are now properly handled as relative paths.
5 years ago
Siegfried Pammer
849161e362
- Replace DecompilerTextView.CleanUpName with direct uses of WholeProjectDecompiler.CleanUpFileName
...
- Add file extension handling to WholeProjectDecompiler.CleanUpName
- Add WholeProjectDecompiler.SanitizeFileName, which respects file extensions
5 years ago
Siegfried Pammer
19d5ea4095
Fix #2505 : Do treat whole resource name as file name without directory at the start of GetFileNameForResource.
5 years ago
Siegfried Pammer
07199e2ecf
Fix #2038 : Add proper support for Long paths on Windows 10 and limit path segments to 255 characters (with long path support) or 30 characters. If a PathTooLongException is thrown display a better error message on project export.
5 years ago
Daniel Grunwald
bd9aabeae2
Update to dotnet-format 5.1.225507.
...
This makes the formatting expected by our CI consistent with that generated by VS2019.9.
5 years ago
Siegfried Pammer
635013329a
Fix #2358 : use current Path.DirectorySeparatorChar instead of hard-coded backslashes.
5 years ago
Siegfried Pammer
2a9a5237d1
Fix exception when trying to export project for which no target-framework moniker was detected.
5 years ago
Siegfried Pammer
2ed52b9634
#2362 : Provide more information on assembly resolve errors
5 years ago
Daniel Grunwald
0de6238d65
Support resolving assembly references within a bundle.
6 years ago
文煌
77dc975f9b
fix GetFileNameForResource not in accordance with https://github.com/icsharpcode/ILSpy/pull/2157
6 years ago
文煌
c2c1bcc570
write empty RootNamespace if need
6 years ago
文煌
4b27bb5427
copy file overwrite
6 years ago
文煌
908c3081e9
don't write app.manifest if it is default
6 years ago
文煌
65bf8fe92e
do not write app icon and manifest if null
6 years ago
文煌
4a8cca26a1
write app manifest
6 years ago
文煌
1ac59a79cd
copy app.config if exists
6 years ago
文煌
8c54f3caa1
write application icon file
6 years ago
文煌
d612008c9f
write OutputType for asp.net library
6 years ago
文煌
bc888117e9
write EmbeddedResource for non .resx file
6 years ago
文煌
9742a7cfae
1. Create sub directory when namespace contains dot
...
2. Detect when .NET 3.0/3.5 is required
6 years ago
文煌
5d80c56189
don't write Reference for .NET Core shared assembly
6 years ago
文煌
e8e0f89f6d
don't write HintPath for .NET Core shared assembly
6 years ago
文煌
a5fdb05c6f
use relative path if reference and target project are in the same root path
6 years ago
文煌
8152e40d5c
don't write HintPath for GAC assembly
6 years ago
dotnet format
0d9f871a4f
#2128 : Reformat the whole code base.
6 years ago
Daniel Grunwald
d02fd09822
Explicitly create partitioners for `Parallel.ForEach` calls.
...
Apparently the default `Parallel.ForEach` logic checks whether the input enumerable is an array or `IList<T>`,
and if it is, creates whole chunks of sequential list/array indices and assigns those to the worker threads.
This is more efficient if the individual items are processed very quickly; but if they take varying amounts of time, a single chunk full of expensive items might keep a single CPU core busy for long after all other CPU cores have gone idle.
6 years ago
dymanoid
bfb57da93b
Implement project writer for SDK style projects
6 years ago
dymanoid
fdef5d11c6
Rearrange project writing logic
...
The WholeProjectDecompiler shall not have too many responsibilities.
6 years ago
dymanoid
b492a20442
Move assembly resolution logic to better place
...
WholeProjectDecompiler shall not care about checking whether an assembly
is in GAC.
6 years ago
dymanoid
a952cda502
Create dedicated namespace for project decompiler
6 years ago