Bug: Can't find symbol

Hi

It seems that ReShaper can't recognize the following construction:
using Direct3D=Microsoft.DirectX.Direct3D;
And also it doesn't see classes from separate Managed C++ projects.

Best regards
Andrey Demidov


0
3 comments
Avatar
Permanently deleted user

Hi Andrey,

"Andrey Demidov" <demidov@wiley.ru> wrote in message
news:c0q5eb$7qj$1@is.intellij.net...

Hi

>

It seems that ReShaper can't recognize the following construction:
using Direct3D=Microsoft.DirectX.Direct3D;


Could you please describe which identifiers from
Microsoft.DirectX.Direct3D are unresolved
(or, even better, post a piece of code that indicates the problem)?
I tried a small code snippet and it seems to work.

And also it doesn't see classes from separate Managed C++ projects.

>

Yes, if you have a reference in your C# project to a Managed C++ project,
we don't recognize
classes from the C++ project. The problem is that we don't support C++,
so we can't analyze
source files of the C++ project as we do for C# projects.
We are now considering an option to support such project references as if
they were assembly references
(as VS.NET does), though this will require the user to build the C++
project in order for us to recognize
the changes in it.




0
Avatar
Permanently deleted user

Hey
If i wrote:
using Direct3D=Microsoft.DirectX.Direct3D;
public class MyEffect : IDisposable
{
Direct3D.Effect effect;
}

Reshaper can't resolve class Direct3D.Effect .
If I wrote:

using Microsoft.DirectX.Direct3D;
public class MyEffect : IDisposable
{
Effect effect;
}

It can resolve :)

"Dmitry Shaporenkov(JetBrains)" <dsha@jetbrains.com> wrote in message
news:c0qjgu$1g7$1@is.intellij.net...

Hi Andrey,

>

"Andrey Demidov" <demidov@wiley.ru> wrote in message
news:c0q5eb$7qj$1@is.intellij.net...

Hi

>

It seems that ReShaper can't recognize the following construction:
using Direct3D=Microsoft.DirectX.Direct3D;

>

Could you please describe which identifiers from
Microsoft.DirectX.Direct3D are unresolved
(or, even better, post a piece of code that indicates the problem)?
I tried a small code snippet and it seems to work.

>

And also it doesn't see classes from separate Managed C++ projects.

>

>

Yes, if you have a reference in your C# project to a Managed C++

project,

we don't recognize
classes from the C++ project. The problem is that we don't support C++,
so we can't analyze
source files of the C++ project as we do for C# projects.
We are now considering an option to support such project references as

if

they were assembly references
(as VS.NET does), though this will require the user to build the C++
project in order for us to recognize
the changes in it.

>
>
>
>


0
Avatar
Permanently deleted user

Andrey,

I've just tried your code snippets in a small project and in both cases
references to Effect are
resolved without problems. Could you please tell me which DirectX assemblies
are referenced in your project?

Thanks,
Dmitry

"Andrey Demidov" <demidov@wiley.ru> wrote in message
news:c0qr4d$7d0$1@is.intellij.net...

Hey
If i wrote:
using Direct3D=Microsoft.DirectX.Direct3D;
public class MyEffect : IDisposable
{
Direct3D.Effect effect;
}

>

Reshaper can't resolve class Direct3D.Effect .
If I wrote:

>

using Microsoft.DirectX.Direct3D;
public class MyEffect : IDisposable
{
Effect effect;
}

>

It can resolve :)

>

"Dmitry Shaporenkov(JetBrains)" <dsha@jetbrains.com> wrote in message
news:c0qjgu$1g7$1@is.intellij.net...

Hi Andrey,

>

"Andrey Demidov" <demidov@wiley.ru> wrote in message
news:c0q5eb$7qj$1@is.intellij.net...

Hi

>

It seems that ReShaper can't recognize the following construction:
using Direct3D=Microsoft.DirectX.Direct3D;

>

Could you please describe which identifiers from
Microsoft.DirectX.Direct3D are unresolved
(or, even better, post a piece of code that indicates the problem)?
I tried a small code snippet and it seems to work.

>

And also it doesn't see classes from separate Managed C++ projects.

>

>

Yes, if you have a reference in your C# project to a Managed C++

project,

we don't recognize
classes from the C++ project. The problem is that we don't support

C++,

so we can't analyze
source files of the C++ project as we do for C# projects.
We are now considering an option to support such project references

as

if

they were assembly references
(as VS.NET does), though this will require the user to build the C++
project in order for us to recognize
the changes in it.

>
>
>
>

>
>


0

Please sign in to leave a comment.