# Roslyn Compiler - VB.Net My Namespace

**URL:** https://forum.alternetsoft.com/t/roslyn-compiler-vb-net-my-namespace/508
**Category:** AlterNET Studio Support
**Tags:** editor
**Created:** [August 20, 2025, 3:41pm UTC](https://forum.alternetsoft.com/t/roslyn-compiler-vb-net-my-namespace/508 "2025-08-20T15:41:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rob.panosh](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/r/606060/32.png) [@rob.panosh](https://forum.alternetsoft.com/u/rob.panosh)
#### Post date: [August 20, 2025, 3:41pm UTC](https://forum.alternetsoft.com/t/roslyn-compiler-vb-net-my-namespace/508/1 "2025-08-20T15:41:19Z")

</div>

Hi,

When using My.Computer in the SyntaxEditor I am not getting any diagnostic errors. But when I try to create an assembly with the VisualBasicCompilationObject I get diagnostic errors for My.Computer. I know I’m missing something setting up my compile environment (maybe an option or metareference?), any help would be greatly appreciated.

Thanks,  
Rob

---

<div class="post-metadata">

### Author: ![generalloki](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/generalloki/32/225_2.png) [@generalloki](https://forum.alternetsoft.com/u/generalloki)
#### Post date: [August 21, 2025, 12:43pm UTC](https://forum.alternetsoft.com/t/roslyn-compiler-vb-net-my-namespace/508/2 "2025-08-21T12:43:40Z")

</div>

Hi,

Could you attach a sample project that demonstrates the issue? Also, which version of Alternet.Studio are you using?

---

<div class="post-metadata">

### Author: ![rob.panosh](https://forum.alternetsoft.com/letter_avatar_proxy/v4/letter/r/606060/32.png) [@rob.panosh](https://forum.alternetsoft.com/u/rob.panosh)
#### Post date: [August 21, 2025, 3:27pm UTC](https://forum.alternetsoft.com/t/roslyn-compiler-vb-net-my-namespace/508/3 "2025-08-21T15:27:58Z")

</div>

I can only upload image files. Can you email me? Then I can send you an example VB file. We are using the latest AlterNET, but that doesn’t matter I am not using AlterNET to compile, compiling with Roslyn.

---

<div class="post-metadata">

### Author: ![generalloki](https://forum.alternetsoft.com/user_avatar/forum.alternetsoft.com/generalloki/32/225_2.png) [@generalloki](https://forum.alternetsoft.com/u/generalloki)
#### Post date: [August 21, 2025, 4:30pm UTC](https://forum.alternetsoft.com/t/roslyn-compiler-vb-net-my-namespace/508/4 "2025-08-21T16:30:16Z")

</div>

You can send code related to the issue to  
[serhii.kurinnyi@alternetsoft.com](mailto:serhii.kurinnyi@alternetsoft.com)
