Comments (7)
Thanks for the report!
I'm actually using ReSharper's infrastructure to look at the public key, they parse it themselves. Looks like ReSharper itself might not support signing via attributes, in which case I will have to do it manually. Either way, that's going to be fixed ๐
from resharper-internalsvisibleto.
Actually thinking about it, these two things could be linked. I hit both problems in the same solution. Once you have the correct assembly name, maybe the signing will just start working?
--Tim
From: Igal Tabachnik [mailto:[email protected]]
Sent: 20 May 2013 16:52
To: hmemcpy/ReSharper.InternalsVisibleTo
Cc: Timothy P. Long
Subject: Re: [ReSharper.InternalsVisibleTo] Can't detect the strong name key when assemblies are signed using attributes (#2)
Thanks for the report!
I'm actually using ReSharper's infrastructure to look at the public key, they parse it themselves. Looks like ReSharper itself might not support signing via attributes, in which case I will have to do it manually. Either way, that's going to be fixed [:+1:]
โ
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-18155022.
ExchangeDefender Message Security: Click below to verify authenticity
http://www.exchangedefender.com/verify.asp?id=r4KG0XZk012732&[email protected]
Complete email hygiene and business continuity solution available from http://www.tigranetworks.co.uk
from resharper-internalsvisibleto.
Well, I'll dig into this later, but now, thanks to you, there's a new cool feature in this plugin :)
(path completion for this attribute)
from resharper-internalsvisibleto.
So it turns out, as far as I can see, that ReSharper will pick the key from the attribute, as long as you build the entire solution first (ReSharper can only detect the public key if the solution has been built either way). So I guess as long as the completion is correct (as noted by Issue #1), this should "just work".
from resharper-internalsvisibleto.
Ah, that makes sense. Iโve had to uninstall R# 8 because it refused to run my unit tests. I donโt suppose your addin works with R#7? Otherwise weโll have to wait for R#8 release before I can re-test.
--Tim
From: Igal Tabachnik [mailto:[email protected]]
Sent: 20 May 2013 20:30
To: hmemcpy/ReSharper.InternalsVisibleTo
Cc: Timothy P. Long
Subject: Re: [ReSharper.InternalsVisibleTo] Can't detect the strong name key when assemblies are signed using attributes (#2)
So it turns out, as far as I can see, that ReSharper will pick the key from the attribute, as long as you build the entire solution first (ReSharper can only detect the public key if the solution has been built either way). So I guess as long as the completion is correct (as noted by Issue #1#1), this should "just work".
โ
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-18167278.
ExchangeDefender Message Security: Click below to verify authenticity
http://www.exchangedefender.com/verify.asp?id=r4KJZCW4015088&[email protected]
Complete email hygiene and business continuity solution available from http://www.tigranetworks.co.uk
from resharper-internalsvisibleto.
It does, actually! R#7 doesn't have the NuGet extension manager, unfortunately, so you have to manually install it. The link to the zip file is at the bottom of the readme page: https://github.com/hmemcpy/ReSharper.InternalsVisibleTo
Just extract it somewhere, then run the batch file, it will copy.
I remember there was some issue with ReSharper test runner and VS2012, you needed to install Update 2 for it to work...
from resharper-internalsvisibleto.
I just released the fixed version for both ReSharper 8 (via extensions manager), and ReSharper 7 via the zip file in the readme file. Please let me know if this works!
from resharper-internalsvisibleto.
Related Issues (13)
- If the assembly name differs from the project name, then the helper incorrectly uses the project name HOT 3
- Not all projects are shown in completion helper
- Roslyn Support
- Add support for ReSharper 2019.2.x HOT 5
- 2019.3.1 Version HOT 2
- Installed but nothing happens
- ReSharper and InternalsVisibleTo versioning
- Quick-fix 'Add InternalsVisibleTo attribute' for usages of an internal type HOT 1
- unable to find this package on Nuget HOT 2
- PublicKey is not extracted
- ReSharper 9.1 HOT 3
- Public key not recognized (code completion) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resharper-internalsvisibleto.