-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re# doesn't play nicely with dynamic definition of namespace #14
Comments
hmm, object model should be fully updated automatically... need to think this only with Re# ? |
:) strange, it's not reproduced for me at all. Did I understand correctly that problem only with tips from IDE above and export works well ? What after restarting IDE ? or reloading of projects/solution when it installed ? |
+jonsq I see, thanks ! However it not reproduced for me :( need to think my gif illustration here: #6 (comment) All details about this here: Dynamic definitions of namespaces What after restarting IDE ? |
Already tried. Nothing have changed. One more thing, once that namespace (with DllExportAttribute class) is imported, it magically makes a program uncompilable:
Edit:
Apparently it is not, now I don't know what to change the title to. Edit 2: |
Installation log (I have used
I have found a way-around this, that is, create own |
I see only report from #6 and also not for all. But, I already pushed changes for this - https://ci.appveyor.com/project/3Fs/dllexport/history, so probably it already fixed (I don't see any replies from this guys) - when I will get a time for this project, I will start new release with this changes (+some changes from current issues) For this issue: ! btw, please check this problem with latest changes from master - bcfa5cc need to details, I will look it later because it also should be ok. The main problem how to reproduce it for me :( |
Ok. I have just tested this with nightly build NuGet package (link). Restarted VS2015, and created an empty console application, and then installed NuGet package from local folder. Still, nothing have changed.
Edit: |
just noticed your new edit 2 :)
it already was in v1.1 ! but after short discussion with Robert I decided to provide more compatible solution. He said simply:
I wrote:
... and main part of my thoughts here as an my short explanation to Robert that DllExport it's special case. with important note about problems that can be - My final decision you already know, and mainly I like it more, because I want to use bugs ? bugs everywhere just to fix it :) |
I still can not reproduce your problems. I also tried in VM with different locale but no result. All works fine, damn :) ok ! I already started new GUI configurator, that also affects on this feature. So, please test it from develop branch - ba0da45 |
please report about result (latest changes: 00bede7 see binaries from CI) |
v1.4:
reopen if needed |
:) holy hedgehogs please attach all files from your
and also check paths to dll in References in your project file (.csproj etc) |
Compressed in Zip file: net20.zip |
Okay, maybe this would help: See source for project file, here. |
still all works fine (14.0.25421.03 Update 3) but I found possible problem in 0x007A7-0x007A8 however strange that VS works correctly for me -_- I changed 2 bytes manually for your library, can you check:
why you think that's invalid ? ...
<DllExportNamespace>ExportedLibrary</DllExportNamespace>
... |
by the way, again, you should not see sequence D3F00FF1770DED978E... at all, it's marker only, that can be updated for zero-based sequence that will be considered as a null-terminated string. Therefore GAC ? I remembered this JamesNK/Newtonsoft.Json#647 or some other cache. |
how about very older VS2010 from +jonsq ? just a note
o_O I didn't understand - this works or not ?
just a typo, later I will fix it ! Yes, 0x007A7-0x007A8 is also need to fix even if it not a reason of this ! yesterday I changed it manually because it was faster to check on your prepared project.
it's warning of schema only - see xmlns
yes, for this issue it should not be related at all. And mainly this as part of full identifier to work with data via Cecil |
Yes, your manual patch worked (see screenshot?). |
Good ! How about Object Browser ? and note for |
I have checked it already, and I could not find "ExportedLibrary" project nor anything about "DllExport". I have selected to search all components and still nothing... Possible VS bug? |
…ails in #14 + also fixed possible problem with null for MSBuild RemoveProperty
And I tested both variant for VS2010 v10.0.30319.1 (without SP1) in VM in general, try this 54263f9 ... |
I am waiting for nightly build, or is this the build d17e335? If it is not build d17e335, please upload it; I can't be bothered to compile this from source code.. |
amazing o_o Did you check both type of changes - Cecil and Direct-Mod ? this is for both options ? |
Ok, this is weird, but there's some sense. It happens with both, Cecil and Direct-Mod. |
just for checking: the any install/remove operation for this package will load our assemblies into main domain of VS ! Before, I used this to avoid problem with loading of .net assemblies: powershell -Command "Import-Module (Join-Path $ToolsPath Configurator.dll); Set-Configuration -Dll $asmpath" it was simply, but now I need to provide via of course I can prepare all this inside like in my other plugin (that contains complex support of EnvDTE & MS Build.Evaluation) , but I don't want hard impl. for DllExport Therefore, the other easy way to use through temp assemblies: $dllConf = Get-TempPathToConfiguratorIfNotLoaded 'net.r_eg.DllExport.Configurator.dll' "$toolsPath"
if($dllConf) {
Import-Module $dllConf;
}
Set-Configuration -MetaLib "$metaLib" -InstallPath "$installPath" -ToolsPath "$toolsPath" -ProjectDTE $project -ProjectsMBE $gpc; ah yes, I also thought about this but for common solution I have no time yet. later So ! if you already have installed package, to full upgrade on new version, please restart IDE if [remove] button is clicked before. |
* FIXED: Fixed problem with white-space chars in path: `Cannot find path '<any full path with spaces>' because it does not exist ...` * FIXED: Fixed typo with fullseq (ddNS) - incorrect `0x30 0x30` ~0x007A7-0x007A8 /details in #14 * FIXED: Possible problem with NullReferenceException when removing package. * FIXED: Fixed problem with old NS data when we try to install package for project A, then for project B * NEW: Implemented 'Generate .exp + .lib via MS Library Manager' #9 GUI Configurator + MSBuild property: `DllExportGenExpLib` * NEW: Added support of unmanaged-export for Executable Modules (.exe) #18 * NEW: Cecil variant for ddNS features /#14, #2 * NEW: Added our custom IL Assembler as option to fix incorrect 0x13 / 0x11 opcodes. #17 GUI Configurator + MSBuild property: `DllExportOurILAsm` It should help for users of Fody projects, etc. Fody/Fody#271 IlAsm 4.5.1 https://github.com/3F/coreclr based on 4.5.22220.0 / coreclr 1.0.4 changelog of our coreclr for this release: https://github.com/3F/coreclr/blob/master/changelog.txt * CHANGED: Updated scripts of installing/removing package for more correct loading of our assemblies.
The following keep poping up across screen (also notice "Cannot resolve symbol"):
Though I do like idea of "dynamic definition of namespace", it is very annoying and clearly was not made to support Re#, apparently it was introduced in #2. Which is not the case with (original) UnmanagedExports NuGet package (where namespace is static).
The text was updated successfully, but these errors were encountered: