Граф коммитов

384 Коммитов

Автор SHA1 Сообщение Дата
Jérôme Laban 77ede0a2be Fix for Hosted mode not select on .NET desktop CLI 2019-03-13 21:55:08 -04:00
Jérôme Laban d3ca59d957 Fix for Hosted mode not select on .NET desktop CLI 2019-03-13 21:47:55 -04:00
Jérôme Laban edd68df688 [Breaking] Reduce the number of transitive dependencies attached
This improves the restore and build performance of projects creating generators.
2019-03-13 16:31:40 -04:00
Jérôme Laban ed61ef22dd
Merge pull request #101 from nventive/dev/jela/single-use-mode
Expose single-use host mode parameter
2019-03-13 15:53:13 -04:00
Jérôme Laban afc4ebdf2b Build on multiple xamarin versions 2019-03-13 15:40:50 -04:00
Jérôme Laban e940f46094 Expose single-use host mode parameter 2019-03-13 15:04:27 -04:00
Jérôme Laban 62b2657b64
Merge pull request #99 from nventive/dev/jela/fix-perf
Restore roslyn MetadataReference performance
2019-03-13 10:37:03 -04:00
Jérôme Laban 8d76214e2a Improve roslyn MetadataReference performance
- Add additional Caching in CachingMetadataReference to avoid poking the filesystem for last write time when the metadata of a MetadataReference, which is done a lot of times when looking up for symbols via the SymbolFinder class.
- Added parallelization of a MetadataReference caching
2019-03-13 10:27:20 -04:00
Jérôme Laban 2a2cacccf0
Merge pull request #98 from nventive/dev/jela/custom-project-loader
Adjust source generation for UWP with XamlPreCompile Step
2019-03-08 11:04:48 -05:00
Jérôme Laban 58d6cf8b66 Adjust source generation for UWP with XamlPreCompile Step
Added test to validat the scenario
2019-03-08 10:37:08 -05:00
Jérôme Laban 6e1fbb1895
Merge pull request #97 from nventive/dev/jela/custom-project-loader
Add more information when the Roslyn Compilation fails
2019-03-07 15:12:20 -05:00
Jérôme Laban 58314fbf72 Remove XamlPreCompile dependency, use CoreCompile
This fixes an the reference list not yet being built.
2019-03-07 14:57:42 -05:00
Jérôme Laban 026630b3ff Use the proper configuration settings
Replace the inner msbuild references with the outer build resolved references, when providing them to Roslyn.
2019-03-07 13:57:54 -05:00
Jérôme Laban eb8009cd0e Use the platform value when parsing the project file 2019-03-07 11:50:00 -05:00
Jérôme Laban c2745ae268 Add more information when the Roslyn Compilation fails
The compilation step may fail with a TaskCanceledException if invalid references are provided. This change logs the compilation details in the build output.
2019-03-07 11:49:29 -05:00
Jérôme Laban 6912bc1a45
Merge pull request #94 from nventive/dev/jela/custom-project-loader
Add custom msbuild workspace
2019-03-01 14:19:33 -05:00
Jérôme Laban a346ba6e73 Disable controller mode for .NET Core.
This is required until the required APIs are present in .NET Core (NamedPipes security).
2019-03-01 14:09:08 -05:00
Jérôme Laban a1885787a7 Adjust app.config for host in net46 and netcoreapp 2019-03-01 14:09:08 -05:00
Jérôme Laban 9831d67da7 Add backward compat support for UnoSourceGeneratorUseGenerationHost property 2019-03-01 14:09:08 -05:00
Jérôme Laban 225a12e9bd Validate string type presence 2019-03-01 14:09:08 -05:00
Jérôme Laban f0de5407a7 Add missing assembly mappings for Microsoft.CodeAnalysis assemblies 2019-03-01 14:09:08 -05:00
Jérôme Laban da8c6f6406 Update sample project to use sdk style, adjust linux solution 2019-03-01 14:09:08 -05:00
Jérôme Laban 0a840dde8f Ensure ProjectReferences are properly resolved using the Configuration property 2019-03-01 14:09:08 -05:00
Jérôme Laban cac9b28bd2 Adjust dotnet CLI configuration 2019-03-01 14:09:08 -05:00
Jérôme Laban 321bec1527 Don't force host mode for generic sample 2019-03-01 14:09:08 -05:00
Jérôme Laban 39601c1fb0 Adjust ProjectReferences reading
Import changes from https://github.com/dotnet/roslyn/pull/30331
2019-03-01 14:09:08 -05:00
Jérôme Laban 10515d0dc2 Remove ReferencePath inclusion
This confuses the compiler when building UWP projects with duplicate references, as the msbuild project engine output already provides all the appropriate references, there is no need to provides the references from the outer build task context.
2019-03-01 14:09:08 -05:00
Jérôme Laban 245d5da922 Install .NET Core on server 2019-03-01 14:09:08 -05:00
Jérôme Laban b243dbbe7a Fix invalid generator name 2019-03-01 14:09:08 -05:00
Jérôme Laban 1e65cbc615 Adjust for .NET Core CLI support, CI validation 2019-03-01 14:09:08 -05:00
Jérôme Laban 6492aed70a Change generation host to be per msbuild instance
The source generation server does not support parallel builds properly yet.
2019-03-01 14:09:08 -05:00
Jérôme Laban efec02e029 Add AppDomain selection per Platform and ProjectFile. 2019-03-01 14:09:08 -05:00
Jérôme Laban 6c4f3fcab9 Provide default MetadataCache for SourceGeneratorEngine 2019-03-01 14:09:08 -05:00
Jérôme Laban 9cb37cab6c Add missing linked dependency in sample projects 2019-03-01 14:09:08 -05:00
Jérôme Laban 3f4b56dc30 Adjust for null _environment.ReferencePath 2019-03-01 14:09:08 -05:00
Jérôme Laban ebbe89e140 Adjust debug logging 2019-03-01 14:09:08 -05:00
Jérôme Laban 4ea1e6e90d Remove extras 2019-03-01 14:09:08 -05:00
Jérôme Laban c48d0b19bd Add custom msbuild workspace.
Avoids double msbuild loading and roslyn project references parsing
2019-03-01 14:09:08 -05:00
Agnes ZITTE 7be2e5e394
Merge pull request #96 from nventive/release/stable/Z-BumpVersion
Release/stable/z bump version
2019-02-28 15:32:23 -05:00
Agnès Zitte 0e929a7c67 Update to latest dev packages. 2019-02-28 14:39:28 -05:00
Agnès Zitte 4d09b41b43 Bumps the version. 2019-02-28 14:37:05 -05:00
Agnès Zitte d5d5ec2143 Merge release notes 2019-02-28 14:35:33 -05:00
Jérôme Laban 10dc59bfe8
Merge pull request #91 from nventive/dev/jela/adjust-msbuild-workaround
Adjust MSBuild workaround for VS15.9
2019-01-29 10:56:56 -05:00
Jérôme Laban 655df72fdf Adjust MSBuild workaround for VS15.9 2019-01-29 10:44:24 -05:00
Jérôme Laban c070225100
Merge pull request #90 from nventive/dev/jela/generation-server
Include SQLite binaries, adjust linux support
2019-01-23 10:22:41 -05:00
Jérôme Laban 97d187dba0 Include SQLite binaries, adjust linux support 2019-01-23 10:04:47 -05:00
Jérôme Laban 7ef9a253f3
Merge pull request #89 from nventive/dev/jela/generation-server
Use single-use generation host when running outside of VS
2019-01-17 15:15:15 -05:00
Jérôme Laban 489c640643 Use single-use generation host when running outside of VS 2019-01-17 14:29:50 -05:00
Jérôme Laban 4279b9fb61
Merge pull request #88 from nventive/dev/jela/generation-server
Restore in-process source generation for vs4mac below 16.0
2019-01-17 11:04:55 -05:00
Jérôme Laban 9e87a2eeb5 Remove RuntimeInformation invalid workaroung 2019-01-17 10:29:06 -05:00