Commit Graph

35031 Commits

Author SHA1 Message Date
Bjarke Berg
8a68ba9547 Removed the init of legacy MB. Future versions of the full MB will have to disable the embedded MB
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-09 11:15:14 +02:00
Nikolaj
6cd8617202 Fix tests 2020-09-08 15:17:57 +02:00
Nikolaj
a6580cc3c5 Add documentation comments to RoslynCompiler and LoadContext 2020-09-08 12:24:34 +02:00
Nikolaj
fc83ea5edd Remove more generated files 2020-09-08 11:23:27 +02:00
Nikolaj
2bb3612bcb Enable models builder 2020-09-08 10:57:15 +02:00
Nikolaj
7496e7c9a0 Set ModelsBuilderConfig back to default to true 2020-09-08 10:56:41 +02:00
Nikolaj
7ac4e6c387 Disabling pre compiled view should be a workaround and not default 2020-09-08 10:42:39 +02:00
Nikolaj
983ac2cca5 Remove CodeGen var
I believe this was used for the build manager which would get maed if the base directory changed, roslyn shouldn't care though
2020-09-08 10:34:47 +02:00
Nikolaj
b6be2b4a0c Remove pure live generated cs files
They will cause a myriad of trouble
2020-09-08 10:27:05 +02:00
Nikolaj
3eb897a16f Move genereated files to the Umbraco folder 2020-09-08 10:21:11 +02:00
Nikolaj
f14b3f78a9 Remove unused usings 2020-09-07 12:44:24 +02:00
Nikolaj
5321f493ec Remember to use assemblyPath variable in CompileToFile 2020-09-07 12:37:47 +02:00
Nikolaj
5d12f99eaf SImplify roslyn compiler
Since the old assemblies actually gets deleted now  we no longer need to check if the old assembly file exists
2020-09-07 12:01:25 +02:00
Nikolaj
00365fc455 Clean roslyncompiler a bit
There's no reason to just return the saveLocation parameter
2020-09-07 11:47:46 +02:00
Nikolaj
872364cfb3 Update constructor in PublishedModelFactory 2020-09-07 11:34:12 +02:00
Nikolaj
5f6680f191 Use filestream to be able to delete the old asemblies 2020-09-07 10:19:25 +02:00
Nikolaj
00b30f74c7 Fix 2020-09-07 09:06:46 +02:00
Nikolaj
6d599b5f48 Switch to default AssemblyLoadContext 2020-09-07 09:03:09 +02:00
Bjarke Berg
13ad1e0a88 remove hardcoded version number
Signed-off-by: berg <mail@bergmania.dk>
2020-09-04 20:12:49 +02:00
Bjarke Berg
1218f3564c Merge pull request #8798 from umbraco/netcore/bugfix/integration-tests-examine-indexes
Fixes integration tests bootstrapping
2020-09-04 10:54:43 +02:00
Mole
1000e19a20 Try and use AssemblyLoadContext to load and unload assemblies
This still doesn't work, since the old assembly never gets freed allowing it to be unloaded, my best guess is that there's some references to the types within in the old assembly somewhere which doesn't get cleared.
2020-09-04 10:38:37 +02:00
Bjarke Berg
a58859ade6 updated version to 0.5.0-alpha002
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-04 09:39:46 +02:00
Bjarke Berg
d69c93e4ee https://github.com/umbraco/Umbraco-CMS/issues/8814 - Decoreated endpoints with DetermineAmbiguousActionByPassingParametersAttribute
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-04 09:32:35 +02:00
Bjarke Berg
ed2fa27b18 Fix issue with login url
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-09-04 09:26:24 +02:00
Shannon
123e3cb22b fix build 2020-09-04 10:12:55 +10:00
Shannon
855a58a3cc fix tests 2020-09-04 01:40:46 +10:00
Shannon
1c83c68862 Fixes integration tests localization text 2020-09-04 01:30:47 +10:00
Shannon
e6b6dd6d92 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/integration-tests-examine-indexes 2020-09-04 00:30:46 +10:00
Shannon
734b222e1b cleanup 2020-09-04 00:30:06 +10:00
Shannon
16e4ffb725 Fixes unsubscribing from static events on Terminate 2020-09-04 00:28:38 +10:00
Shannon
7c78b5b34f Updates CoreRuntime with better dependencies so we can disable caches, fixes integration test to run multiple callbacks registered for TearDown, ensure we TearDown the runtime. 2020-09-04 00:27:43 +10:00
Nikolaj
63c25b8695 Start out with AssemblyLoadContext 2020-09-03 15:24:57 +02:00
Nikolaj
ba3ed003f1 Remove the last stuff I can find 2020-09-03 15:03:02 +02:00
Nikolaj
870bd825d4 Remove more stuff that seemingly does nothing anymore 2020-09-03 14:58:21 +02:00
Nikolaj
ef02a32a2c Try and do something which might sometimes delete some old assemblies 2020-09-03 14:53:36 +02:00
Bjarke Berg
6f6d9cb938 Fixed issue with wrong link to GetSetup method on InstallApiController 2020-09-03 14:37:29 +02:00
Nikolaj
508a2b9077 Remove some build manager stuff 2020-09-03 14:18:09 +02:00
Nikolaj
ee424ad160 Remove unused ReferencedAssemblies 2020-09-03 13:50:54 +02:00
Nikolaj
1bbb6844ac Don't try to save a file that already exists 2020-09-03 13:30:34 +02:00
Nikolaj
7b27a56ee9 Use determenistic hash 2020-09-03 13:01:50 +02:00
Nikolaj
aa1807bd5a Reuse compiled assembly again if no changes are detected
It's not pretty, but it works...
2020-09-03 10:31:45 +02:00
Nikolaj
624e57f304 Only add distrinct metadatareferences 2020-09-03 08:34:29 +02:00
Nikolaj
28c28519f0 Follow TODO and change Refresh to Reset 2020-09-03 08:34:07 +02:00
Nikolaj
7f6f924da6 Remove duplicate metadatareferences 2020-09-03 08:25:23 +02:00
Nikolaj
3efb60ba28 Remove unused stuff. 2020-09-02 15:46:48 +02:00
Nikolaj
69191088e3 Save compiled assembly in TEMP 2020-09-02 15:35:05 +02:00
Nikolaj
aeb7977c60 Load new argument 2020-09-02 15:18:22 +02:00
Nikolaj
8fd1d0a867 Add appsettings change 2020-09-02 14:47:18 +02:00
Nikolaj
1eb7e9c1eb Add further progress 2020-09-02 14:44:01 +02:00
Shannon
775360ef78 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/bugfix/integration-tests-examine-indexes 2020-09-02 18:27:53 +10:00